<?php
namespace Controllers;
class CommonController
{
    public function response($status = 200, $message = '', $data = null) {
        $result = compact('status', 'message', 'data');
        return json_encode($result);
    }
}
